package com.itheima.es.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import com.itheima.es.po.Sku;

import java.util.List;

public interface SkuMapper extends BaseMapper<Sku> {

    @Select("select id, name,price,num,image,create_time,category_id,category_name,brand_name from tb_sku")
    List<Sku> findAllSku();
}
